function render() {
    ajax('get','./json data.json', {}).then((data)=>{
        var str = data.map((item,index) => {
            return `<tr>
            <td class="id">${item.id}</td>
            <td class="order">${item.order}</td>
            <td class="type">${item.type}</td>
            <td class="date">${item.date}</td>
            <td class="state">${item.state}</td>
            <td class="case">${item.case}</td>
        </tr>`
        }).join('')
        document.querySelector('.content .right .data table tbody').innerHTML = str;
    })
}